import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /sys/user/del
 */
export function deleteSysUserDel(params: DeleteSysUserDelParams, config?: AxiosRequestConfig) {
    const paramsInput = {
        id: params.id,
    };
    return request.delete<DeepRequired<any>>(`/sys/user/del`, {
        params: paramsInput,
        ...config,
    });
}

export interface DeleteSysUserDelParams {
    id: string;
}
